<?
		require_once('../inc/Products.php');
		require_once('../inc/functions.php');		
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Database Access</title>
        <link type="text/css" rel="stylesheet" href="../inc/bootstrap.css" />
    </head>
   
<body>
<?
			 $con = GetConnection();
	$db = mysql_select_db("n02447784_db",$con);
        $sql =  "INSERT INTO Products(product_name, price, quantity) 
               VALUES ('product 6', '5', '5') ";
			if (!mysql_query($sql,$con))
				  {
				  die('Error: ' . mysql_error());
				  }
				echo "1 record added";
				
				mysql_close($con)
				;
			?>
       
</body>
</html>